﻿@model List<S4Store.Domain.Store>
@{
    ViewBag.Title = "Add";
    Layout = null;
}
<form class="pageForm addpage" action="@Url.Action("Add")" method="post">
<div style=" height:100%; width:100%; overflow:hidden" class="verticalSplitContainer">
		<div class="pageFormContent" style="overflow: auto;" ratio="*">
            <table style="width:100%">
                <tr>
                    <td width="10%">用户名：</td>
                    <td width="40%"><input type="text" value="" size="30" name="UserName" class="textInput" /></td>
                    <td width="10%">密码：</td>
                    <td width="40%"><input type="text" value="" size="30" class="textInput" name="Password" /></td>
                </tr>
                <tr>
                    <td width="10%">姓名：</td>
                    <td width="40%"><input type="text" value="" size="30" name="Name" class="textInput" /></td>
                    <td width="10%">职位：</td>
                    <td width="40%">
                    <select name="PositionType">
                        @*<option value="0">总经理</option>*@
                        <option value="1">销售数据录入员</option>
                        <option value="8">营销数据录入员</option>
                        <option value="9">财务数据录入员</option>
                        <option value="10">售后数据录入员</option>
                        <option value="2">销售经理</option>
                        <option value="3">售后经理</option>
                        <option value="4">市场经理</option>
                        <option value="5">门店总经理</option>
                        <option value="12">销售辅导老师</option>
                        <option value="11">经销商辅导老师</option>
                        <option value="-1">骐翔管理员</option>
                    </select>
                    </td>
                </tr>
                <tr>
                    <td width="10%">所属店：</td>
                    <td width="90%" colspan="3">
                     <select name="StoreId">
                        <option value=""></option>
                        @foreach (var store in Model)
                        {
                            <option value="@store.Id">@store.Name</option>
                        }
                    </select>
                    </td>
                </tr>
            </table>
			
		</div>
		<div class="formBar" ratio="#30">
			<ul>
                <li><div class="simplebutton"><div class="r"><button type="button" class="submit">保存</button></div></div></li>	
			</ul>
		</div>
</div>
</form>

